package com.cloudtcm.serviece;

import com.cloudtcm.dto.EmployeeLoginDTO;
import com.cloudtcm.dto.EmployeeDTO;
import com.cloudtcm.entity.Employee;

public interface EmployeeService {

    /**
     * 员工登录
     * @param employeeLoginDTO
     * @return
     */
    Employee login(EmployeeLoginDTO employeeLoginDTO);

    /**
     * 员工注册
     * @param employeeDTO
     */
    void save(EmployeeDTO employeeDTO);

    /**
     * 更新员工信息
     * @param employeeDTO
     */
    void update(EmployeeDTO employeeDTO);
}
